﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class TestGuid : MonoBehaviour
{

    public RectMaskGuide mC;

    public Image m1;
    public Image m2;


    void OnGUI()
    {
        if (GUILayout.Button("图片1"))
        {
            mC.SetTarget(m1);
        }
        if (GUILayout.Button("图片1"))
        {
            mC.SetTarget(m2);
        }
        if (GUILayout.Button("图片1"))
        {
            mC.SetTarget(null);
        }
    }
}
